Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-19 23:59:04.983048 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-19 23:59:32.830389 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:00:03.542388 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:00:33.003083 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:01:03.391670 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:01:32.278027 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:02:03.047901 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:02:32.414069 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:03:03.594900 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:03:32.523435 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:04:03.638800 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:04:32.742188 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:05:04.353075 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:05:32.894226 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:06:04.023604 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:06:33.105455 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:07:03.428891 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:07:32.190553 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:08:03.061503 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:08:32.346202 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:09:04.185852 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:09:32.545421 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:10:03.549342 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:10:32.691654 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:11:03.742341 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:11:32.843157 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:12:03.666556 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:12:33.013658 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:13:03.032343 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:13:32.197606 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:14:03.105723 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:14:32.490265 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:15:04.074772 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:15:32.739544 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:16:03.609170 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:16:32.957771 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:17:04.456028 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:17:33.143253 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:18:03.309589 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:18:32.362155 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:19:04.428004 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:19:32.453766 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:20:03.351264 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:20:32.754678 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:21:03.954368 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:21:32.836168 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:22:03.669905 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:22:32.953224 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:23:04.283061 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:23:33.065686 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:24:03.208919 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:24:32.261784 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:25:03.337084 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:25:32.427255 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:26:03.109538 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:26:32.499221 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:27:03.657886 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:27:32.663380 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:28:03.633504 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:28:32.902375 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:29:04.409203 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:29:33.026632 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:30:02.731848 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:30:32.160332 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:31:03.125306 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:31:32.512700 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:32:03.657467 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:32:32.626753 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:33:04.044436 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:33:32.819889 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:34:03.972477 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:34:32.923219 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:35:04.379382 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:35:33.141582 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:36:03.203277 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:36:32.291179 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:37:03.696673 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:37:32.451123 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:38:03.268623 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:38:32.704645 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:39:04.224396 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:39:32.834231 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:40:03.668165 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:40:32.915703 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:41:04.057987 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:41:33.024021 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:42:03.126101 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:42:32.342748 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:43:03.440271 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:43:32.473110 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:44:03.370525 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:44:32.762557 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:45:03.896802 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:45:32.931061 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:46:03.855475 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:46:33.088886 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:47:02.966279 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:47:32.237554 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:48:02.916026 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:48:32.400547 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:49:03.645624 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:49:32.595087 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:50:03.431405 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_07032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250228 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250301 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250302 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250303 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250304 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250305 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250306 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250307 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/07032025/11/59/image_07032025_11_59_39_31278.jpg', 2), ('/home/pi/Desktop/images/07032025/12/43/image_07032025_12_44_07_29041.jpg', 2), ('/home/pi/Desktop/images/07032025/12/44/image_07032025_12_44_37_29997.jpg', 2), ('/home/pi/Desktop/images/07032025/12/48/image_07032025_12_48_38_29878.jpg', 2), ('/home/pi/Desktop/images/07032025/12/54/image_07032025_12_55_08_30574.jpg', 2), ('/home/pi/Desktop/images/07032025/13/07/image_07032025_13_08_08_30352.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_07032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:50:32.932046 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:51:04.045799 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:51:33.102401 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:52:02.874432 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:52:32.216404 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:53:03.853536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:53:32.407344 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:54:03.879923 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:54:32.679422 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:55:04.135865 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:55:32.911160 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:56:03.825653 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:56:33.096711 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:57:04.544557 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:57:33.367255 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:58:03.400832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:59:03.959589 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 00:59:32.603524 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:00:03.323893 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:00:32.751863 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:01:03.908377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:01:32.888767 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:02:03.893396 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:02:33.009080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:03:04.147901 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:03:33.115187 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:04:03.538585 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:04:32.238959 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:05:03.306326 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:05:32.398960 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:06:03.378988 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:06:32.473504 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:07:03.396916 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:07:32.602059 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:08:03.242979 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:08:32.741005 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:09:04.413900 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:09:32.932994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:10:03.730006 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:10:33.081380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:11:03.117579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:11:32.310314 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:12:03.029722 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:12:32.546914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:13:03.606650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:13:32.698171 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:14:03.897804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:14:32.999743 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:15:04.157959 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:15:33.269883 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:16:03.021644 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:16:32.346784 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:17:03.868275 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:17:32.586588 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:18:03.579170 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:18:32.781933 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:19:04.426926 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:19:32.906384 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:20:03.847485 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:20:33.127975 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:21:03.465730 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:21:32.281372 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:22:03.076278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:22:32.365172 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:23:03.895021 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:23:32.617766 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:24:03.779839 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:24:32.758862 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:25:04.219639 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:25:32.966752 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:26:03.996210 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:26:33.115070 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:27:02.961865 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:27:32.300640 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:28:03.136390 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:28:32.394231 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:29:03.994176 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:29:32.724217 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:30:03.518687 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:30:32.828461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:31:03.771459 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:31:32.955293 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:32:03.801461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:32:33.115270 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:33:03.083856 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:33:32.300997 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:34:03.439868 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:34:32.449872 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:35:03.517958 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:35:32.577080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:36:03.381385 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:36:32.767596 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:37:04.015784 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:37:33.022147 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:38:02.872637 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:38:32.238360 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:39:03.922173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:39:32.453202 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:40:03.156663 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:40:32.575110 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:41:04.234285 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:41:32.840421 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:42:03.671630 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:42:32.964708 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:43:04.501765 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:43:33.232395 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:44:03.565893 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:44:32.401428 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:45:03.726416 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:45:32.530648 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:46:03.555512 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:46:32.663051 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:47:04.004215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:47:32.930873 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:48:03.979224 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:48:33.073482 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:49:04.700335 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:49:33.240380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:50:03.002262 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:50:32.497290 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:51:03.948626 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:51:32.607393 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:52:03.533281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:52:32.754737 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:53:03.906738 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:53:32.851138 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:54:04.206817 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:54:32.957909 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:55:04.065976 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:55:33.148111 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:56:02.889565 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:56:32.252284 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:57:03.152796 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:57:32.388901 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:58:03.137189 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:58:32.642911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:59:04.378323 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 01:59:33.030384 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:00:02.731678 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:00:32.137246 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:01:03.332957 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:01:32.346200 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:02:03.281115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:02:32.455601 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:03:03.750092 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:03:32.537020 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:04:03.704493 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:04:32.778320 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:05:04.539046 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:05:32.992102 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:06:03.897136 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:06:33.244774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:07:03.581349 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:07:32.577477 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:08:03.559846 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:08:32.786857 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:09:04.146055 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:09:32.964691 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:10:03.790320 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:10:33.076741 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:11:04.357419 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:11:33.211295 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:12:03.062827 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:12:32.382490 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:13:03.475195 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:13:32.502679 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:14:03.919290 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:14:32.804935 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:15:04.184324 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:15:32.970354 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:16:03.970671 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:16:33.108158 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:17:03.380109 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:17:32.319774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:18:02.971675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:18:32.453362 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:19:04.169742 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:19:32.687081 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:20:03.368977 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:20:32.854982 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:21:04.037973 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:21:33.152147 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:22:02.979706 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:22:32.256053 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:23:03.251769 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:23:32.365310 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:24:03.438146 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:24:32.508507 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:25:03.590059 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:25:32.687328 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:26:03.679551 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:26:32.776517 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:27:04.258269 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:27:32.981310 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:28:03.979960 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:28:33.214749 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:29:03.701916 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:29:32.317877 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:30:03.160648 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:30:32.526032 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:31:03.904884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:31:32.735671 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:32:03.633200 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:32:32.878457 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:33:04.042033 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:33:32.961118 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:34:04.224594 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:34:33.130615 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:35:03.458856 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:35:32.373146 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:36:03.207531 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:36:32.491137 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:37:03.885992 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:37:32.703934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:38:03.581650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:38:32.858678 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:39:04.218060 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:39:33.048282 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:40:04.081212 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:40:33.325269 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:41:03.648018 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:41:32.545687 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:42:03.801260 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:42:32.714885 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:43:03.992624 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:43:32.878136 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:44:03.921158 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:44:33.037040 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:45:03.264369 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:45:32.263105 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:46:03.091690 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:46:32.435413 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:47:03.526420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:47:32.580239 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:48:03.342635 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:48:32.677387 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:49:04.192609 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:49:32.878051 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:50:03.696668 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:50:33.110039 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:51:02.996491 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:51:32.335082 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:52:03.152409 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:52:32.446911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:53:03.725036 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:53:32.733127 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:54:03.921987 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:54:32.952864 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:55:04.225282 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:55:33.175171 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:56:02.979187 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:56:32.295181 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:57:03.689522 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:57:32.453034 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:58:03.371446 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:58:32.712265 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:59:04.212764 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 02:59:32.879291 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:00:03.793294 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:00:33.109025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:01:03.529228 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:01:32.315665 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:02:03.237313 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:02:32.447478 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:03:03.772110 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:03:32.615877 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:04:03.726693 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:04:32.797049 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:05:03.929483 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:05:32.914356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:06:03.870300 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:06:32.956174 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:07:03.988093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:07:33.180999 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:08:03.085410 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:08:32.388806 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:09:03.686573 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:09:32.758995 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:10:03.463967 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:10:32.859696 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:11:04.018474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:11:32.971349 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:12:02.888885 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:12:32.209224 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:13:03.396593 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:13:32.363159 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:14:03.094562 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:14:32.525699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:15:03.488031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:15:32.668287 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:16:03.511502 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:16:32.776192 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:17:04.017005 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:17:32.976326 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:18:03.879971 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:18:33.147252 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:19:03.633209 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:19:32.289236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:20:03.071567 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:20:32.587731 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:21:03.565125 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:21:32.766966 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:22:03.562604 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:22:32.896808 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:23:03.934597 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:23:33.127525 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:24:03.234568 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:24:32.268607 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:25:03.092844 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:25:32.439821 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:26:03.274490 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:26:32.566801 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:27:03.917930 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:27:32.900195 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:28:03.606994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:28:33.061755 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:29:03.634385 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:29:32.308347 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:30:03.363865 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:30:32.493070 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:31:03.720398 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:31:32.749436 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:32:03.923698 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:32:32.861603 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:33:04.349240 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:33:33.152316 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:34:03.331993 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:34:32.464008 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:35:03.877929 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:35:32.637188 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:36:03.561486 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:36:32.849462 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:37:04.117007 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:37:33.109332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:38:03.080119 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:38:32.251619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:39:03.869666 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:39:32.535850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:40:03.443448 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:40:32.555817 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:41:03.510750 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:41:32.640933 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:42:03.546135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:42:32.823524 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:43:03.867738 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:43:33.044137 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:44:02.914021 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:44:32.204729 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:45:03.263711 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:45:32.393099 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:46:03.314220 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:46:32.693491 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:47:03.542733 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:47:32.848048 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:48:03.630727 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:48:32.976634 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:49:04.734378 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:49:33.255988 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:50:02.980149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:50:32.312122 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:51:03.724172 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:51:32.584076 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:52:03.399945 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:52:32.669057 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:53:04.086620 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:53:32.866765 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:54:04.349532 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:54:32.991529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:55:04.385250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:55:33.131528 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:56:03.054957 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:56:32.300688 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:57:03.660051 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:57:32.420177 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:58:03.253420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:59:04.352116 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 03:59:32.804485 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:00:03.775332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:00:33.076089 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:01:04.403952 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:01:33.124978 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:02:03.259740 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:02:32.328291 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:03:03.908480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:03:32.532542 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:04:03.626269 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:04:32.603037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:05:03.528811 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:05:32.681109 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:06:03.605983 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:06:32.818187 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:07:03.871642 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:07:32.996340 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:08:03.697683 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:08:33.132383 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:09:03.598367 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:09:32.389829 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:10:03.137183 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:10:32.586432 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:11:03.838522 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:11:32.763322 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:12:03.640221 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:12:32.947793 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:13:04.070125 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:13:33.152553 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:14:03.657690 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:14:32.299704 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:15:03.402360 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:15:32.368216 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:16:03.153732 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:16:32.559181 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:17:03.731591 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:17:32.787149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:18:03.477856 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:18:32.938792 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:19:04.544945 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:19:33.206007 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:20:03.097208 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:20:32.386538 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:21:03.883832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:21:32.597485 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:22:03.450882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:22:32.759670 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:23:04.140257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:23:32.883315 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:24:04.303837 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:24:33.100237 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:25:03.463109 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:25:32.299992 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:26:03.181974 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:26:32.333276 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:27:03.380879 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:27:32.494587 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:28:03.280347 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:28:32.604764 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:29:04.411692 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:29:32.951244 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:30:03.983560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:30:33.162150 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:31:03.355253 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:31:32.351178 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:32:02.995705 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:32:32.412861 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:33:03.745560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:33:32.580605 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:34:03.890326 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:34:32.818207 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:35:04.044029 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:35:32.945631 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:36:03.781010 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:36:33.211722 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:37:03.488788 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:37:32.343367 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:38:02.944818 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:38:32.398108 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:39:03.792399 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:39:32.662636 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:40:03.650224 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:40:32.939614 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:41:04.125298 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:41:33.073361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:42:04.118333 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:42:33.163594 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:43:03.625880 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:43:32.269759 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:44:03.417315 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:44:32.280020 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:45:03.336241 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:45:32.432952 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:46:03.175205 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:46:32.546874 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:47:03.883512 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:47:32.874265 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:48:03.766531 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:48:32.970214 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:49:04.776977 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:49:33.163446 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:50:03.228440 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:50:32.301348 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:51:03.602834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:51:32.417260 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:52:03.132973 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:52:32.533107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:53:03.544782 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:53:32.707375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:54:04.589658 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:54:33.033747 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:55:04.509107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:55:33.172375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:56:03.156891 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:56:32.316387 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:57:03.512833 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:57:32.430424 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:58:03.286683 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:59:03.974105 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 04:59:32.447385 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:00:03.334644 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:00:32.635167 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:01:03.826229 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:01:32.854953 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:02:04.132808 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:02:33.099191 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:03:03.195153 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:03:32.261732 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:04:03.665982 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:04:32.540021 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:05:03.913474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:05:32.725120 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:06:03.540209 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:06:32.815272 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:07:03.883141 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:07:33.132188 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:08:02.800588 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:08:32.241602 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:09:03.878232 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:09:32.408775 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:10:03.596698 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:10:32.692457 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:11:04.057087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:11:32.838135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:12:03.659070 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:12:32.943581 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:13:04.571405 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:13:33.113227 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:14:03.361151 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:14:32.268233 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:15:03.085494 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:15:32.419199 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:16:03.138592 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:16:32.601980 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:17:03.858298 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:17:32.736850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:18:03.565086 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:18:32.922295 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:19:04.575628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:19:33.122164 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:20:03.185907 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:20:32.332650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:21:03.789080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:21:32.610180 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:22:03.710101 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:22:32.684772 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:23:03.691060 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:23:32.774662 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:24:03.785808 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:24:32.981757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:25:04.252914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:25:33.125290 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:26:03.016671 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:26:32.291377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:27:03.666341 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:27:32.564426 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:28:03.444044 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:28:32.722934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:29:04.286849 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:29:32.802456 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:30:03.661665 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:30:32.873140 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:31:04.033977 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:31:33.244064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:32:03.003456 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:32:32.446508 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:33:03.934934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:33:32.661485 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:34:04.026501 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:34:32.760048 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:35:04.243605 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:35:32.904801 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:36:03.846194 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:36:33.078249 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:37:03.332884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:37:32.341079 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:38:03.299659 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:38:32.474350 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:39:04.330268 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:39:32.597015 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:40:03.402570 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:40:32.716396 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:41:03.762021 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:41:32.823610 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:42:03.657679 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:42:33.068989 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:43:03.048770 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:43:32.260358 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:44:03.253330 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:44:32.380858 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:45:04.053867 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:45:32.709378 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:46:03.762988 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:46:33.013170 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:47:04.537912 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:47:33.204563 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:48:03.083343 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:48:32.335813 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:49:04.028179 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:49:32.590190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:50:03.629294 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:50:32.828832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:51:04.114560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:51:32.998793 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:52:03.792882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:52:33.053638 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:53:03.200085 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:53:32.197617 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:54:03.116560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:54:32.345979 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:55:03.354935 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:55:32.551063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:56:03.541757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:56:32.776381 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:57:03.882000 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:57:33.008908 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:58:04.039096 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:58:33.285306 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:59:04.266550 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 05:59:32.418555 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:00:03.376768 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:00:32.575404 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:01:03.819941 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:01:32.701286 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:02:03.564536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:02:32.856881 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:03:03.788061 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:03:32.967062 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:04:04.176505 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:04:33.173776 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:05:03.110439 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:05:32.247832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:06:03.082024 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:06:32.476498 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:07:03.670872 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:07:32.704188 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:08:03.480361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:08:32.842190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:09:04.377285 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:09:32.908665 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:10:03.814261 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:10:33.143304 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:11:03.140151 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:11:32.316435 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:12:03.075777 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:12:32.467636 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:13:03.962963 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:13:32.712985 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:14:03.929738 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:14:32.876883 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:15:04.338146 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:15:33.223710 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:16:03.070303 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:16:32.284849 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:17:03.753073 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:17:32.468190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:18:03.325960 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:18:32.681910 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:19:04.314742 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:19:32.965068 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:20:04.027610 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:20:33.172603 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:21:03.623434 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:21:32.465551 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:22:03.356524 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:22:32.659890 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:23:03.882167 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:23:32.743453 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:24:04.784532 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:24:33.044991 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:25:04.503324 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:25:33.036817 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:26:03.045348 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:26:32.338690 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:27:03.378731 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:27:32.527421 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:28:03.364848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:28:32.632037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:29:04.646618 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:29:32.895711 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:30:04.009022 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:30:33.029730 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:31:03.585173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:31:32.387513 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:32:03.520913 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:32:32.549101 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:33:04.597593 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:33:32.865215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:34:04.846316 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:34:33.108327 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:35:04.530686 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:35:33.359593 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:36:03.378884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:36:32.477530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:37:04.269885 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:37:32.789115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:38:04.225358 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:38:32.971324 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:39:04.896098 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:39:33.208226 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:40:03.325194 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:40:32.333897 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:41:04.125697 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:41:32.603129 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:42:03.966196 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:42:32.697483 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:43:04.506377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:43:32.967941 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:44:04.564368 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:44:33.169808 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:45:03.704412 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:45:32.310071 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:46:03.684393 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:46:32.346742 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:47:03.982770 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:47:32.493332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:48:04.017475 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:48:32.779846 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:49:05.250973 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:49:32.992241 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:50:04.169131 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:50:33.230547 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:51:03.859745 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:51:32.412302 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:52:03.692635 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:52:32.707542 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:53:04.516254 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:53:32.811720 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:54:04.623424 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:54:33.049464 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:55:04.458532 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:55:33.322777 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:56:03.586588 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:56:32.539447 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:57:04.092089 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:57:32.768322 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:59:04.668442 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 06:59:32.808472 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:00:03.956096 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:00:33.000346 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:01:04.668172 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:01:33.133847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:02:03.334756 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:02:32.397100 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:03:03.971666 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:03:32.490973 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:04:03.956480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:04:32.704145 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:05:04.153922 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:05:32.809418 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:06:03.809405 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:06:32.902017 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:07:04.517918 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:07:33.087135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:08:03.146905 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:08:32.275636 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:09:04.189619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:09:32.527809 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:10:03.570273 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:10:32.663597 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:11:04.344180 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:11:32.843889 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:12:04.416136 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:12:32.995521 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:13:04.620529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:13:33.184303 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:14:03.477212 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:14:32.317621 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:15:04.023770 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:15:32.563791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:16:04.121380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:16:33.077832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:17:04.587501 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:17:33.245659 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:18:03.522761 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:18:32.261424 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:19:04.413669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:19:32.658483 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:20:03.867884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:20:32.800321 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:21:04.581661 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:21:32.934148 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:22:04.368410 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:22:33.079283 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:23:04.565128 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:23:33.329094 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:24:04.252919 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:24:32.550008 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:25:04.410749 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:25:32.648063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:26:04.289889 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:26:32.810753 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:27:04.790620 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:27:32.943823 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:28:04.449349 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:28:33.053459 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:29:05.124135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:29:33.269311 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:30:03.801446 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:30:32.401728 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:31:04.204432 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:31:32.567606 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:32:03.812840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:32:32.695847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:33:04.138348 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:33:32.866250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:34:04.190122 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:34:33.124130 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:35:03.812566 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:35:32.295730 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:36:03.416375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:36:32.423838 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:37:04.176794 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:37:32.701273 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:38:03.930628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:38:32.856779 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:39:05.164026 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:39:33.039370 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:40:04.251315 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:40:33.200293 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:41:03.995876 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:41:32.425376 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:42:03.904887 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:42:32.500973 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:43:04.337268 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:43:32.631343 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:44:04.647568 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:44:32.864085 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:45:04.362796 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:45:32.915543 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:46:04.057530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:46:33.068063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:47:04.617971 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:47:33.184479 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:48:03.435567 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:48:32.525076 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:49:04.680712 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:49:32.731441 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:50:03.902832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:50:32.821585 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:51:04.288469 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:51:32.934208 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:52:04.203751 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:52:33.081592 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:53:03.824536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:53:32.268277 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:54:03.562170 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:54:32.451817 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:55:04.156916 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:55:32.557850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:56:03.859508 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:56:32.642978 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:57:04.440257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:57:32.810063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:58:03.817199 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:59:04.774470 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 07:59:32.742225 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:00:03.845792 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:00:32.920032 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:01:04.218871 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:01:33.107878 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:02:03.341896 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:02:32.229386 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:03:03.680714 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:03:32.345480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:04:03.847901 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:04:32.508937 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:05:03.924332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:05:32.540613 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:06:03.818081 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:06:32.692866 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:07:04.429926 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:07:33.005927 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:08:03.104994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:08:32.159019 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:09:04.532834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:09:32.654555 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:10:04.092772 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:10:32.828714 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:11:04.534937 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:11:33.000117 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:12:04.420935 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:12:33.148106 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:13:03.660339 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:13:32.325439 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:14:03.945451 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:14:32.505612 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:15:04.179207 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:15:32.579757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:16:03.781649 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:16:32.789715 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:17:04.530729 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:17:32.985064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:18:03.949864 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:18:33.056675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:19:04.019026 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:19:32.313650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:20:03.701401 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:20:32.526383 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:21:04.118188 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:21:32.651275 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:22:03.946589 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:22:32.753025 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:23:04.600884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:23:32.957898 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:24:04.960103 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:24:33.259754 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:25:04.192087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:25:32.321635 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:26:03.994467 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:26:32.635780 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:27:04.318124 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:27:32.739216 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:28:03.918172 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:28:33.055865 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:29:05.403036 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:29:33.253001 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:30:03.429096 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:30:32.405722 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:31:04.165908 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:31:32.551113 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:32:03.944028 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:32:32.711022 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:33:03.845106 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:33:32.828209 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:34:04.395137 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:34:32.887586 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:35:04.253918 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:35:33.207330 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:36:03.437765 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:36:32.511911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:37:03.994139 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:37:32.762457 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:38:03.850632 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:38:32.950401 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:39:05.182551 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:39:33.235014 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:40:03.407099 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:40:32.248000 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:41:03.978573 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:41:32.434424 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:42:03.861012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:42:32.765726 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:43:04.239071 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:43:32.956975 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:44:04.300282 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:44:33.103434 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:45:04.596521 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:45:33.206854 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:46:03.464702 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:46:32.488908 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:47:04.297015 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:47:32.647524 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:48:03.729453 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:48:32.731377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:49:04.519284 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:49:33.015609 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:50:03.333802 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:50:32.233222 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:51:03.659437 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:51:32.459675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:52:03.398853 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:52:32.588469 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:53:03.998435 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:53:32.669236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:54:04.239346 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:54:32.930420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:55:04.692790 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:55:33.106192 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:56:03.237742 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:56:32.310053 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:57:04.145485 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:57:32.445870 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:59:05.004632 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 08:59:33.014478 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:00:04.569017 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:00:33.188384 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:01:03.956993 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:01:32.453300 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:02:03.682805 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:02:32.555729 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:03:04.403701 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:03:32.619675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:04:04.016289 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:04:32.729065 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:05:04.194779 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:05:32.965288 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:06:03.876400 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:06:33.084600 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:07:03.465743 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:07:32.320304 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:08:03.563988 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:08:32.537804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:09:04.419756 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:09:32.718354 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:10:03.842277 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:10:32.845700 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:11:04.446827 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:11:32.984030 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:12:04.151741 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:12:33.086220 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:13:03.872074 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:13:32.238179 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:14:04.205490 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:14:32.421114 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:15:04.198648 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:15:32.577253 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:16:03.967826 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:16:32.817060 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:17:04.583999 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:17:32.938107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:18:04.076475 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:18:33.188291 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:19:03.871716 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:19:32.455671 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:20:03.702924 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:20:32.604366 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:21:04.255034 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:21:32.873463 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:22:04.395251 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:22:33.068969 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:23:04.929977 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:23:33.212852 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:24:04.104452 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:24:32.443910 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:25:03.996513 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:25:32.585303 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:26:03.791459 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:26:32.736796 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:27:04.475391 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:27:32.904471 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:28:04.300861 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:28:32.958633 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:29:04.723802 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:29:33.145480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:30:03.410172 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:30:32.356998 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:31:03.884917 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:31:32.424713 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:32:03.523787 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:32:32.773544 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:33:04.114065 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:33:32.921859 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:34:04.799861 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:34:33.179078 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:35:03.650261 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:35:32.343952 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:36:03.808638 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:36:32.564663 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:37:04.337768 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:37:32.697545 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:38:04.080624 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:38:32.972204 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:39:04.896117 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:39:33.075825 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:40:03.924097 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:40:33.113136 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:41:03.375359 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:41:32.236708 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:42:03.287627 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:42:32.392947 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:43:04.003417 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:43:32.453947 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:44:04.198726 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:44:32.667325 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:45:04.345928 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:45:32.941897 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:46:04.454135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:46:33.159757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:47:03.916708 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:47:32.399365 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:48:03.909426 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:48:32.644821 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:49:04.873674 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:49:33.037166 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:50:04.181093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:50:33.315803 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:51:04.119287 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:51:32.455771 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:52:03.934937 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:52:32.575643 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:53:04.476678 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:53:32.681007 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:54:04.388537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:54:33.001630 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:55:04.886845 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:55:33.258352 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:56:03.611966 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:56:32.574069 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:57:04.298060 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:57:32.804124 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:58:04.327143 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:58:32.976938 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:59:04.976729 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 09:59:33.151496 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:00:02.992294 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:00:32.197574 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:01:03.266303 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:01:32.443241 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:02:03.521235 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:02:32.664536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:03:04.360336 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:03:32.767297 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:04:04.554354 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:04:32.991683 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:05:03.529062 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:05:32.228869 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:06:03.320002 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:06:32.547074 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:07:03.893353 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:07:32.673428 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:08:03.742923 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:08:32.791369 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:09:04.896010 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:09:33.043144 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:10:03.100404 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:10:32.225935 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:11:03.853132 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:11:32.377037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:12:03.977504 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:12:32.603194 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:13:04.278070 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:13:32.908155 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:14:04.758930 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:14:33.118454 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:15:03.683471 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:15:32.331013 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:16:03.606561 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:16:32.521087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:17:04.165927 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:17:32.632928 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:18:04.024604 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:18:32.810729 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:19:04.816934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:19:33.046924 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:20:04.405060 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:20:33.213084 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:21:04.114817 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:21:32.390050 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:22:03.981359 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:22:32.692220 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:23:04.379431 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:23:32.863371 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:24:04.679946 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:24:33.005236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:25:04.870574 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:25:33.187309 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:26:03.565617 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:26:32.352606 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:27:03.997521 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:27:32.639269 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:28:03.680507 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:28:32.722885 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:29:04.633080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:29:32.848115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:30:03.888855 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:30:33.053894 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:31:04.757623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:31:33.085390 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:32:03.308484 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:32:32.379913 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:33:03.824206 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:33:32.676729 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:34:04.046950 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:34:32.829187 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:35:04.326356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:35:33.022257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:36:03.231037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:36:32.090880 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:37:03.771250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:37:32.243512 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:38:03.287658 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:38:32.676337 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:39:04.769254 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:39:33.173406 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:40:03.562813 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:40:32.431246 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:41:04.324598 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:41:32.745587 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:42:03.969447 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:42:32.989393 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:43:04.680919 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:43:33.180988 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:44:03.847344 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:44:32.321835 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:45:04.116153 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:45:32.583669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:46:03.674552 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:46:32.740022 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:47:04.378080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:47:32.888676 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:48:04.195630 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:48:32.944767 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:49:05.077350 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:49:33.166305 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:50:03.392351 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:50:32.391330 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:51:04.099161 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:51:32.513860 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:52:03.389452 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:52:32.659329 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:53:04.562137 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:53:32.858574 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:54:04.549716 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:54:33.178151 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:55:04.094004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:55:32.270130 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:56:03.590510 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:56:32.460398 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:57:04.126986 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:57:32.768256 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:58:03.850567 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:59:04.537634 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 10:59:32.735993 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:00:03.807514 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:00:32.863198 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:01:04.028252 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:01:33.107792 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:02:03.113409 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:02:32.154606 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:03:03.658085 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:03:32.324080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:04:03.876278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:04:32.504513 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:05:04.104027 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:05:32.798727 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:06:03.879600 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:06:32.936418 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:07:04.666106 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:07:33.270250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:08:03.540304 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:08:32.435590 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:09:04.489356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:09:32.833908 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:10:04.023496 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:10:32.958840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:11:04.886215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:11:33.089624 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:12:03.548820 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:12:32.243097 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:13:03.728458 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:13:32.393041 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:14:04.098549 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:14:32.535840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:15:04.347579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:15:32.706885 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:16:03.969023 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:16:33.059914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:17:04.562929 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:17:33.299135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:18:03.591413 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:18:32.470840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:19:04.273435 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:19:32.518474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:20:03.658543 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:20:32.641607 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:21:04.352094 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:21:32.914882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:22:04.312046 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:22:33.148736 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:23:03.681331 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:23:32.394175 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:24:04.008409 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:24:32.777032 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:25:04.559666 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:25:32.924783 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:26:04.313797 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:26:33.094848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:27:04.769935 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:27:33.232702 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:28:03.705641 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:28:32.349316 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:29:04.599420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:29:32.576832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:30:03.815493 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:30:32.593098 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:31:04.036098 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:31:32.742834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:32:03.669367 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:32:32.826155 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:33:04.315790 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:33:32.974943 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:34:04.787857 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:34:33.227056 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:35:03.985804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:35:32.582420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:36:03.885865 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:36:32.938419 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:37:04.560599 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:17:05.074843 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:17:32.700850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-20 11:18:03.618546 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_20032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250320 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/20032025/00/49/image_20032025_00_50_05_29696.jpg', 2), ('/home/pi/Desktop/images/20032025/01/23/image_20032025_01_23_36_30388.jpg', 2), ('/home/pi/Desktop/images/20032025/02/29/image_20032025_02_30_06_29566.jpg', 2), ('/home/pi/Desktop/images/20032025/03/03/image_20032025_03_03_36_30349.jpg', 2), ('/home/pi/Desktop/images/20032025/04/09/image_20032025_04_10_05_29945.jpg', 2), ('/home/pi/Desktop/images/20032025/04/43/image_20032025_04_43_36_29246.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_20032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))